package cn.zpfhomework01;

public class Teacher {
    private String name;
   private String profession;
    public Teacher(String n,String p){
        name=n;
        profession=p;
    }
    public void process(){
        System.out.println("授课的步骤依次是:");
    }
    public void intro() {
        System.out.println("大家好,我的名字是"+name+"所在专业:"+profession);
    }
}
